<?php


define('ACCESS_KEY9296',true);
require('./include/init.php');

$cart = new CartModel();
$carts=$cart->showCart();
$i=0;
foreach ($carts as $key => $value) {
    $id[$i]=$key;
    $num[$i]=$value['num'];
    $price[$i]=$value['price'];
    $img[$i]=$value['img'];
    $i++;
}
var_dump($img);
include(ROOT.'view/shop/header.html');
include(ROOT.'view/shop/checkout.html');
include(ROOT.'view/shop/footer.html');